package dome2;

/**
 * Created with IntelliJ IDEA.
 * Description: 接口之间的拓展关系测试
 * User: 王圆豪
 * Date: 2024-06-06
 * Time: 19:28
 */

class Kom implements IEat{
    public int a;
    @Override
    public void eat() {
        System.out.println("eat被执行...");
    }
}

public class Test {
    public static void main(String[] args) {
        Kom kom1 = new Kom();
        kom1.eat();
        kom1.move();
        //kom1.run();
    }
}
